package com.sanrenzu.chunbo.ui.foodagency;


import com.sanrenzu.chunbo.base.IBaseModle;
import com.sanrenzu.chunbo.base.IBasePresenter;
import com.sanrenzu.chunbo.base.IBaseView;
import com.sanrenzu.chunbo.bean.gy.CateGoryListBean;
import com.sanrenzu.chunbo.bean.gy.ChefListBean;
import com.sanrenzu.chunbo.bean.gy.FoodAgencyBean;
import com.sanrenzu.chunbo.bean.gy.ListFocusBean;
import com.sanrenzu.chunbo.bean.gy.NewFoodBean;
import com.sanrenzu.chunbo.bean.gy.NewFoodTypeBean;

import java.util.List;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/8/30 0030.
 */
public class FoodAgencyContract {
    public interface View extends IBaseView {
        public void onGetDataSuccess(List<CateGoryListBean> listCategory,List<ListFocusBean> listFocus,List<ChefListBean>chefListBeen);
        public void onGetNewFoodDataSuccess(List<NewFoodTypeBean>newFoodBeanList);
        public void onGetDataFail(String error);
        public void onGetNewFoodDataFail(String error);
    }
    public interface Model extends IBaseModle {
        public void getData(Callback<FoodAgencyBean> callback);
        public void getNewFoodData(Callback<NewFoodBean> callback);
    }
    public interface Presenter extends IBasePresenter {
        public void getData();
        public void getNewFoodData();
    }
}
